package com.ficus.road.maintain.core.model.dingtalk;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.ficus.road.maintain.core.model.dingtalk.message.DingTalkOpenMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * @author xiawen yang
 * @date 2022/2/21 下午5:42
 */
@Data
@Builder
@AllArgsConstructor
public class CorpMessageAsyncSendRequest {
    @JsonProperty("agent_id")
    private int agentId;
    @JsonProperty("userid_list")
    private String useridList;
    @JsonProperty("dept_id_list")
    private String deptIdList;
    @JsonProperty("to_all_user")
    private Boolean toAllUser;
    @JsonProperty("msg")
    private DingTalkOpenMessage msg;
}
